package com.example.canteen.service;

import com.example.canteen.dao.Dish;
import com.example.canteen.dto.DishDTO;

import java.util.Set;

public interface DishService {
    Set<DishDTO> getAllDishes();
    DishDTO getDishByName(String name);

    Long addDish(DishDTO dishDTO,String categoryName);

    void deleteDishByName(String name);

    DishDTO updateDish(long id, String name, String categoryName, String components);
}
